package com.ita.util;

import com.ita.pojo.MerchantDto;

public class Constant {

	public static final int DEFAULT = 0;
	public static final int SUCCESS = 1;
	public static final int FAIL = 2;
	public static final int BLOCK = 1;

	public static final String NAMEERROR = "Username wrong";
	public static final String PWDERROR = "Passord wrong";
	public static final String NAMEEXIST = "Username exist";
	public static MerchantDto meDto = null;
	public static String REASON = null;

	// DEC
	public static final String DES_ALGORITHM = "DES";
	public static final String CIPHER_ALGORITHM = "DES/ECB/NoPadding";
	
	//MD5
	public static final String MD5_ALGORITHM = "MD5";
	
	
	public static final String RSA_ALGORITHM = "RSA";
	public static final String SIGNATURE_ALGORITHM = "MD5withRSA";

	public static final String PUBLIC_KEY = "RSAPublicKey";
	public static final String PRIVATE_KEY = "RSAPrivateKey";
	
	
	public static final int SUCEESS_CODE =200;
	public static final int FAIL_CODE =500;
	public static final String SUCCESS_MESSAGE="SUCCESS";


}
